package com.ruiysoft.conf;

import com.ruiysoft.service.sys.clent.LoginContextUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

@Configuration
public class LoginContextConfig {
    @Bean
    public LoginContextUtil loginContext(){return LoginContextUtil.instance();}


    /*@Bean("DefaultBCryptPasswordEncoder")
    public BCryptPasswordEncoder getBCryptPasswordEncoder(){
        return new BCryptPasswordEncoder();
    }*/

}
